<template>
<div>表格</div>
</template>

<script>
export default {
  data: function() {
    return {
      hotSettings: {
        data: this.$hotTable.helper.createSpreadsheetData(6, 10),
        colHeaders: true
      },
      data: [
        [
          '',
          'Tesla',
          'Mercedes',
          'Toyota',
          'Volvo',
          'Tesla',
          'Mercedes',
          'Toyota',
          'Volvo',
          'Tesla',
          'Mercedes',
          'Toyota',
          'Volvo',
          'Tesla',
          'Mercedes',
          'Toyota',
          'Volvo'
        ],
        ['2019', 10, 11, 12, 13],
        ['2020', 20, 11, 14, 13],
        ['2021', 30, 15, 12, 13]
      ]
    }
  }
}
</script>